<!-- <page-header>
</page-header> -->
<app-table-page #st [tmp]="tmp" [config]="config" (operateClick)="operate($event)" (_selectChange)="_console($event)">
    <ng-template #tmp>
        <button nz-button nzType="primary" (click)="editDic()" *ngIf="addFlag">新增</button>
        <button nz-button nzType="danger" (click)="delData()" *ngIf="delFlag">删除</button>
    </ng-template>
</app-table-page>
<ng-template #EditContent>
    <nz-form-item>
        <nz-form-label nzFor="jsbh">
            部门编号:</nz-form-label>
        <nz-form-control>
            <input nz-input [(ngModel)]="addDataList.bmbh" placeholder="请输入角色编码" id="jsbh" />
        </nz-form-control>
        <nz-form-label>
            部门名称:
        </nz-form-label>
        <nz-form-control>
            <nz-tree-select style="width: 100%" [(ngModel)]="addDataList.bmmc" [nzNodes]="nodes" (ngModelChange)="onChange($event)" nzShowSearch nzCheckable nzPlaceHolder="请选择部门">
            </nz-tree-select>
        </nz-form-control>
    </nz-form-item>
</ng-template>
